package com.example.network.mapper;

import com.example.network.controller.request.FileRequest;
import com.example.network.model.entity.Admin;
import com.example.network.model.entity.TimeTable;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author LR
 */
@Mapper
public interface AdminMapper {

    /**
     * 通过email查询记录
     */
    List<TimeTable> selectByEmail(String email);

    Admin getByUserName(String email);

    List<TimeTable> selectOneByAll();

    List<FileRequest> selectAllFile();
}


